docs(admin): document share link URL behaviour with multiple trusted domains#14989
Merged
Conversation
artonge
reviewed
May 21, 2026
Contributor
📖 Documentation Preview📄 1 changed documentation pageLast updated: Wed, 27 May 2026 09:03:45 GMT |
come-nc
reviewed
May 26, 2026
…domains When multiple trusted_domains are configured, generated URLs (share links, download links, notifications) use the hostname from the incoming request. This is a common source of confusion for admins running split-horizon DNS or dual internal/external access, as share links created internally contain the internal hostname and break for external users. Add a new subsection to reverse_proxy_configuration.rst explaining the behaviour and showing how to force a canonical hostname via overwritehost and overwrite.cli.url. Fixes #11623 Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
7701c17 to
47e2077
Compare
Member
Author
artonge
approved these changes
May 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
☑️ Resolves
What and why
When multiple
trusted_domainsare configured, Nextcloud generates URLs(share links, download links, notifications) using the hostname from the
incoming request. In split-horizon DNS or dual-access setups (internal
cloud.local+ externalcloud.example.com), share links createdinternally contain the internal hostname and break for external users.
The fix (
overwritehost+overwrite.cli.url) was already mentionedelsewhere in the docs but the connection to this specific problem was never
made explicit. This adds a dedicated subsection to
reverse_proxy_configuration.rstexplaining the behaviour and showingthe correct config.
🖼️ Screenshots
No visual/layout changes — prose and code block addition only.
✅ Checklist
codespellor similar and addressed any spelling issues